﻿using System;
using System.Globalization;
using System.Threading;

class CurrencyFormating
{

    static void Main(string[] args)
    {
        string input = Console.ReadLine();
        decimal value = decimal.Parse(input);

        string[] allCultures = { "de-AT", "bg-BG", "he-IL", "mn-MN", "zh-TW", "ja-JP" };

        foreach (string culture in allCultures)
        {
            Thread.CurrentThread.CurrentCulture = new CultureInfo(culture);
            Console.WriteLine("{0:C}", value);
        }
    }
}
